package com.learn.springcloud.hystrixdashboardprovider.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Time : 2018/8/7 15:04
 * @Version : 1.0
 */
@RestController
public class HystrixDashboardProvider {

    @RequestMapping("/hystrix/dashboard/provider/say/hello/{name}")
    public String sayHello(@PathVariable String name){
        return "hello, " + name;
    }

}
